﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Senparc.Weixin.MP.Containers;
using ZL.Web.Utility.WeiXinTokenServiceClient;
using ZLWeb.WebApiEntity;

namespace ZilLion.Service.Core.WechatService.Controller
{
    public class WeiXinContainer
    {
        public static string GetAccessToken(string appId)
        {
            IWeiXinTokenService psWeiXinService = new WeiXinTokenService();
            string WeiXinToken = psWeiXinService.GetAccessToken(appId);
            return WeiXinToken;
        }

    }
}
